#app {
    height: 100%;
    background-color: #f1f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-box {
    max-width: 1200px;
    max-height: 600px;
    width: 100%;
    height: 100%;
    margin: auto;
    min-width: 300px;
    min-height: 450px;
}
@media (min-width: 660px){
    .left-side {
        float: left;
        width: 55%;
        height: 100%;
        background: url('./imgs/login-bg.png') no-repeat;
        background-size: cover;
    }
}

.right-side {
    height: 100%;
    padding: 2rem;
    background-color: white;
    float: right;
    width: 45%;
}

.login-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    flex: 1;
    height: 100%;
}
.login-box .form{
    width: 100%;
}

.logo {
    max-width: 100%;
    // display: inline-block;
    // width: 17rem;
    // height: 7rem;
    // background-image: url('./imgs/logo.png');
    // background-size: contain;
    // background-repeat: no-repeat;
}

input {
    height: 3rem;
    width: 100%;
    border: 1px solid #e3e3e3;
    border-radius: 3px;
    padding-left: 10px;
    padding-right: 10px;
}

input~input {
    margin-top: 1.7rem;
    margin-bottom: 0.2rem;
}

input[name="username"] {
    background: url('./imgs/user.png') no-repeat calc(100% - 10px);
}

input[name="password"] {
    background: url('./imgs/lock.png') no-repeat calc(100% - 10px);
}

.err-tip {
    color: red;
    font-size: 0.675rem;
}

button {
    padding: 0.4rem 1.2rem;
    background-color: #01cece;
    border: none;
    color: white;
    float: right;
    border-radius: 3px;
    cursor: pointer;
}

.footer {
    color: #595858;
    font-size: 0.675rem;
    text-align: center;
}

@media (max-width: 650px) {
    .left-side {
        display: none;
    }

    .right-side {
        width: 100%;
    }
}